function ckusername(){
	//var username=document.getElementById("username").value;
	var username=$("#username").val();
	if(username==""){
		//document.getElementById("userspan").innerText="*";
		$("#userspan").text("*");
		return false;
	}else{
		//document.getElementById("userspan").innerText="";
		$("#userspan").text("");
		return true;
	}
}
function ckuserpwd(){
	//var username=document.getElementById("userpwd").value;
	var userpwd=$("#userpwd").val();
	if(userpwd==""){
		//document.getElementById("pwdspan").innerText="*";
		$("#pwdspan").text("*");
		return false;
	}else{
		//document.getElementById("pwdspan").innerText="";
		$("#pwdspan").text("");
		return true;
	}
}
function ckcode(){
	//var usercode=document.getElementById("code").value;
	var usercode=$("#code").val();
	if(usercode==""){
		//document.getElementById("codespan").innerText="*";
		$("#codespan").text("*");
		return false;
	}else{
		//document.getElementById("codespan").innerText="";
		$("#codespan").text("");
		return true;
	}
}
function ck(){
	if (ckusername() & ckuserpwd() & ckcode()) {
		return true;
	} else {
		return false;
	}
}
function changeimg(){
	//document.getElementById("codeimg").src="IdentifyingCode?id="+new Date().getTime();
	$("#codeimg")[0].src="IdentifyingCode?id="+new Date().getTime();
}
